package base

class ZooImpl : Zoo {
    override fun m1() {
        println("m1")
    }

    override fun m2(): String {
        println("m2")
        return "m2"
    }

    override fun m3(name: String): String {
        println("m3")
        return "m3"
    }

    override fun m4(name: String, age: Int): Cat {
        val cat = Cat(name, age, null)
        println(cat)
        return cat
    }
}